Network Failover and Loop Detection in Hierarchical Networks

ABSTRACT

Some embodiments provide loop detection and loop prevention mechanisms for messaging passing in between peers in a multi-tier hierarchy. In some embodiments, the messaging header is modified to track which peers have received a copy of the message. Each peer appends its identifier to the message header before passing the message to another peer. When selecting a receiving peer, the sending peer ensures that the receiving peer is not already identified in the message header. If the receiving peer has already received the message, then another peer from a next-peer list is selected to receive the message. If all peers in the next-peer have been traversed, the sending peer returns an error message via a reverse traversal of the peers in the message header.

BACKGROUND ART

Caching hierarchies are commonly used to accelerate the delivery of content to end users. A caching hierarchy includes different tiers with one or more peers per tier. Each peer represents one or more servers that are deployed to different network locations. In a caching hierarchy, the peers store copies of the same content at each of the different locations in order to serve the content to end users from the location that is most proximate to the end user.

The caching hierarchy tiers allow for a fan-out distribution of the content. Requests for content that is not cached at a first tier funnels through to different tiers until reaching a final tier where only a limited number of peers have access to an origin site where an original copy of the content is stored.

Most content delivery networks (CDNs) operate using some tiered caching hierarchy. A CDN operates multiple points-of-presence (PoPs) with each PoP representing a set of caching servers operating from or serving content to a specific geographic region. The PoPs, and by extension the servers of each PoP, function as peers that can be configured to different hierarchical caching tiers for different customer content. For example, the CDN may have PoPs in Los Angeles, Dallas, New York, and Florida. A first customer origin server may be located somewhere in California. Accordingly, the CDN could designate the Dallas, New York, and Florida PoPs to a first caching tier and the Los Angeles PoP to a second caching tier. When a request for the first customer content is received at a first caching tier PoP and the content is not cached therein, the first caching tier PoP does not access the first customer origin directly to retrieve the content, but rather the Los Angeles PoP as the second caching tier. When the Los Angeles PoP also does not have a cached copy of the first customer content, the Los Angeles PoP retrieves the content from the first customer origin and distributes the content to the first tier PoP for distribution to the requesting end user. If a second customer origin server was located somewhere in Texas, the CDN would designate the Los Angeles, New York, and Florida PoPs as first tier PoPs and the Dallas PoP as the second tier PoP for the second customer content. From these two examples, it should be evident that designation of nodes to tiers can change depending on which customer's content is requested.

Each of the peers can be configured with one or more next-tier lists. The next-tier list identifies the next lower tier within the multi-tier hierarchy that a peer should access in order to retrieve requested content of a particular customer that is not present in cache. Continuing from the example above, the next-tier list for the New York PoP would identify the Los Angeles PoP as the next PoP to access when the first customer content is requested and not present in cache. The next-tier list would change to identify the Dallas PoP as the next PoP to access when the second customer content is requested and not present in cache.

Any tier within a multi-tier hierarchy can have multiple peers. The multiple peers at a given tier can be used to facilitate failover. For instance, a failure may prevent a first peer at a first tier from accessing a configured next-tier peer at a second tier. Failover allows the first peer at the first tier to pass the request to a different second peer at the first tier so that the second peer can attempt to access the next-tier peer at the second tier on behalf of the first peer. The second peer may be located in a different geographic region than the first peer. As a result, the second peer may have different functioning network pathways or better performing network pathways to connect to the peer at the second tier.

To enable such failover, the various peers are configured with a same-tier list in addition to the above mentioned next-tier list. The same-tier list identifies other peers in the same tier to failover to when a particular peer is unable to access a peer at a lower tier identified in its next-tier list.

FIG. 1 illustrates peers at a particular tier performing failover. For simplicity, the next-tier and the same-tier lists are combined into one next-peer list (e.g., reference marker 110). The first peer identified in the combined next-peer list identifies the lower tier peer that is accessed when requested content is not present in local cache of a particular peer. The subsequent peers identified in the next-peer list identify other peers in the same tier as the particular peer that the particular peer fails over to when the particular peer is unable to access the lower tier peer.

As shown in FIG. 1, peer 120 is unable to access the lower level tier 130. According to the next-peer list, the peer 120 fails over to peer 140. Peer 140 is also unable to access the lower level tier 130. Based on the next-peer list configured to peer 140, peer 140 fails over to peer 150 which successfully accesses the lower level tier 130 and retrieves the requested content. The requested content is then passed back through the multi-tier hierarchy for distribution back to the requesting user.

The primary shortcoming to failover based on next-peer lists is the potential for creating an infinite loop when the next-peer lists of different peers point to one another. FIG. 2 conceptually illustrates an infinite loop forming within a particular tier of a caching hierarchy performing failover by way of the configured next-peer lists.

FIG. 2 presents a three-tier caching hierarchy. Three second tier peers are configured with next-peer lists to facilitate failover if needed. A first tier peer receives (at 210) a user request. The first tier peer does not have requested content cached or the content is not cacheable and needs to be retrieved from a next tier. Accordingly, the first tier peer passes (at 220) the request to the first second tier peer. The first second tier peer also does not have the requested content cached. The first second tier peer attempts (at 230) to retrieve the content from the third tier peer, but a failure prevents the first second tier peer from doing so. The first second tier peer then performs failover according to its next-peer list and forwards (at 240) the request to a second peer at the second tier.

The second peer also does not have the content cached. According to its configured next-peer list, the second peer passes the (at 250) the request back to the first peer. The request then continually passes back-and-forth between the first peer and the second peer at the caching hierarchy second tier.

There is therefore a need for loop detection and loop prevention when passing messaging across a hierarchy of different peers organized to different tiers. More specifically, there is a need to implement failover in a manner that does not create loops within a caching hierarchy or other hierarchy comprised of multiple tiers and multiple peers in some of the tiers. To this end, there is a need to elastically find an alternate route to a second tier peer when a first tier peer is unable to access the second tier peer.

BRIEF DESCRIPTION OF THE DRAWINGS

A preferred embodiment of methods and systems for elastic route loop detection and loop prevention will now be described, by way of example only, with reference to the accompanying drawings in which:

FIG. 1 illustrates peers at a particular tier performing failover.

FIG. 2 conceptually illustrates an infinite loop forming within a particular tier of a caching hierarchy performing failover by way of the configured next-peer lists.

FIG. 3 conceptually illustrates a multi-tier hierarchy in accordance with some embodiments.

FIG. 4 presents a process describing modified operation of a particular peer implementing elastic routing loop detection and loop prevention in accordance with some embodiments.

FIG. 5 conceptually illustrates preventing loop formation based on the elastic routing peer-to-peer message header and modified peer behavior of some embodiments.

FIG. 6 illustrates limiting the number of peer accesses based on the number of peer identifiers in the peer-to-peer message header in accordance with elastic routing of some embodiments.

FIG. 7 illustrates a computer system or server with which some embodiments are implemented.

DETAILED DESCRIPTION

Some embodiments provide elastic routing for loop detection and loop prevention within a multi-tier hierarchy. The elastic routing allows peers at a first hierarchical tier to find a route to a peer at a second hierarchical tier by performing a non-circular traversal of the peers at the first tier until one is found that can access the peer at the second hierarchical tier or a sufficient number of accesses have been made from different first tier peers to determine that the peer at the second hierarchical tier is inaccessible. In doing so, elastic routing compliments and enhances failover implemented within the multi-tiered hierarchy by critically eliminating the potential for an infinite loop from forming irrespective of whether two peers at the same tier or different tiers identify one another as a next peer.

FIG. 3 conceptually illustrates a multi-tier hierarchy in accordance with some embodiments. The hierarchy includes three tiers 310, 320, and 330 with each tier including one or more peers (e.g., 340). A peer is a server or any machine that communicates with other peers in the same or different tiers.

In the context of a caching hierarchy, the peers represent different caching servers providing a distributed caching infrastructure for accelerating content delivery to end users. For instance, user requests for content received at any first tier peer that is not cached by the first tier peer or is not cacheable funnels to a peer in the second tier. If the content is not cached at the second tier peer, the request again funnels through to the third caching tier which can serve as the gateway to an origin site for the requested content. In other words, only servers or peers in the third caching tier can access to the origin site. In this caching hierarchy, the origin site only distributes the content to the third tier peers. The third tier peers then fan out the content by distributing to the second tier peers which further fan out the content to the first tier peers. The first tier peers ultimately pass the content to any requesting end users. End user requests can also be directly received by peers in the second or third tiers such that traversal of some tiers may be avoided depending on the location of the end users. Also the designation of a peer to any of the tiers can change depending on the content being requested. In some embodiments, different peers act as the gateway to different content origin sites.

A content delivery network (CDN) provides such a multi-tiered caching hierarchy. In the context of the CDN, the peers represent different caching servers. The caching servers are deployed to different geographic regions or different points-of-presence (PoPs) that operate in different geographic regions with each PoP being formed from a set of caching servers working collectively to service a particular geographic region. The multi-tier hierarchy of FIG. 3 can also represent any cloud platform, hosting platform, or other distributed platform with a hierarchically organization and operation of servers.

The provided embodiments implement elastic routing to provide loop detection and loop prevention in any such multi-tier hierarchy or hierarchical architecture. The elastic routing implementation of some embodiments involves utilizing a specialized peer-to-peer message header and modifying peer operation to leverage the peer-to-peer message header for loop detection and loop prevention.

In some embodiments, elastic routing compliments and enhances failover operation of any peer. In performing failover, the particular peer is configured to use one or more other peers in the same hierarchical tier to access a lower tier peer on behalf of the particular peer when some failure prevents the particular peer from accessing the lower tier directly. In some embodiments, the failure can result from a downed link or poor performance in the network pathway connecting the particular peer to the lower tier node. In some embodiments, a failure is identified when a peer receives Hypertext Transfer Protocol (HTTP) 404, 504, or other response/error codes when attempting to access a lower tier peer.

In some embodiments, the elastic routing peer-to-peer message header tracks which peers have already received a message. The peer-to-peer message header can be a newly added header or a repurposed header within messaging passing between peers. Some embodiments use the HTTP “via:” header to track which peers have already received the message. In some such embodiments, the via header is populated with tags that identify the peers having previously received the message. Some embodiments use the “Forwarded:” HTTP header defined in Request for Comment 7239 or the “X-Forwarded-For:” HTTP header field to track Internet Protocol (IP) addresses or other addressing identifying which peers have already received the message.

As part of the elastic routing modified peer operation, whenever a first peer passes a message to a second peer, the first peer appends an identifier identifying itself in the peer-to-peer message header. The identifier can be any of a unique tag identifying the first peer, IP address, name, or other unique identifier. As the message passes between different peers, the appended list of identifiers identifying a list of traversed peers grows.

Elastic routing then involves modifying peer operation to use the tracked entries in the peer-to-peer message header to alter selection of a next peer and prevent the formation of loops. The elastic routing modified peer operation therefore operates in conjunction with next-peer lists configured on one or more peers. The next-peer list of a particular peer may identify a lower tier peer or one or more other peers in the same hierarchical tier as the particular peer for the particular peer to use in accessing a lower tier peer when the particular peer is itself unable to access the lower tier peer. The next-peer list defines the order in which the particular peer uses other peers in the same hierarchical tier to access the lower tier node on its behalf. The ordering can change depending on the content or request at issue, wherein different content can designate different peers as the gateway peer for accessing a content provider origin site. According to elastic routing modified peer operation, when an identifier for a peer selected from the next-peer list is present in the peer-to-peer message header, the selected peer is discarded and a next peer is selected from the next-peer list. Specifically, the presence of the selected peer identifier in the peer-to-peer message header identifies that the selected peer has already received the message and returning the message to that peer only creates a loop in the hierarchy.

FIG. 4 presents a process 400 describing modified operation of a particular peer implementing elastic routing loop detection and loop prevention in accordance with some embodiments. The process 400 commences when the particular peer receives (at 410) a message requesting specific content that is not locally cached by the particular peer. The process 400 attempts (at 420) to access a lower tier peer to retrieve the content. The lower tier peer can be identified as the first entry in the particular peer's configured next-peer list. A failure (at 430) prevents successful retrieval of the content from the lower tier peer. Steps 420 and 430 may be omitted or performed later when the lower tier peer is not the first entry in the next-peer list.

The process 400 then inspects the message to determine (at 440) which peers have already received the message. Specifically, the process extracts and processes the peer identifiers that have been appended to the peer-to-peer message header. The process then selects (at 450) a next peer from its configured next-peer list.

As part of the selection at step 450, the process determines (at 455) if all peers in the next-peer list have already been traversed. When all peers in the next-peer list have been traversed, the process returns (at 460) a response message (e.g., HTTP 504 message) indicating that the content is unavailable. The response message is returned to the last peer identified in the peer-to-peer message header (i.e., the server from which the current server received the message). The response message can also include the peer identifiers from the peer-to-peer message header so that the receiving peer can return the response message through a reverse traversal of the peers.

When the next-peer list has not been exhausted, the process determines (at 470) whether the selected peer matches a peer identifier from the peer-to-peer message header. If so, loop detection identifies the selected peer as one that has previously received the message. Elastic routing loop prevention then causes the process to revert back to step 450 and select the next peer from its configured next-peer list. If the selected peer does not match any peer identifiers from the peer-to-peer message header, the process appends (at 480) its identifier to the traversed peer list in the peer-to-peer message header and forwards (at 490) the message with the updated header to the selected peer.

FIG. 5 conceptually illustrates preventing loop formation based on the elastic routing peer-to-peer message header and modified peer behavior of some embodiments. The figure illustrates a first hierarchical tier with a first peer 510, a second hierarchical tier with a second peer 520, a third peer 530, and a fourth peer 540, and a third hierarchical tier with a fifth peer 550.

The first peer 510 receives (at 560) a user request for content. The first peer 510 does not have a copy of the requested content in cache or the content is not cacheable. The first peer 510 therefore cannot fulfill the request. The first peer 510 queries its next-peer list. The first entry in the first peer 510 next-peer list identifies the second server 520 at the second lower tier as a next peer to receive the request. The first peer 510 appends its identifier to the traversed peer list in the request message header and forwards (at 565) the message with the updated header to the second peer 520. There is no failure in this exchange and so the first peer 510 has relinquished control over the message to the second peer 520.

The second peer 520 also does not have a copy of the requested content in cache. The second peer 520 next-peer list first identifies the fifth peer 550 as the next lower tier peer from which to retrieve a copy of the requested content. The second peer 520 appends its identifier to the message and attempts (at 570) to access the fifth peer 550 to retrieve the content. However, the second peer 520 is unable to access the fifth peer 550 as a result of some failure. The second peer 520 then queries its next-peer server list to select a next peer to receive the request.

The next identified peer in the configured next-peer list of the second peer 520 is the third peer 530 at the same second hierarchical tier as the second peer 520. Accordingly, the second peer 520 passes (at 575) the message with peer-to-peer message header identifying previous traversals of the first peer 510 and now the second peer 520.

The third peer 530 also does not have a copy of the requested content in cache. The first entry in the third peer 530 next-peer list identifies the second peer 520. However, the second peer 520 identifier is present in the peer-to-peer message header. The presence of the second peer 520 identifier in the message header indicates that the second peer 520 has already received the request and suffered some failure of its own. Without elastic routing loop detection and loop prevention, the second peer 520 and the third peer 530 could repeatedly send the request to each other. However, the third peer 530 discards (at 580) the second peer 520 selection because of the modified peer operation implemented by the elastic routing loop detection and loop prevention of some embodiments.

The third peer 530 queries its next-peer list again and this time identifies the fifth peer 550 as the lower tier peer from which to retrieve a copy of the requested content. The third peer 530 appends its identifier to the peer-to-peer message header before attempting to pass the message to the fifth peer 550. Again, the attempt to access the fifth peer 550 fails.

The third peer 530 then implements failover and again selects the next peer from the next-peer list. This third selection identifies the fourth peer 540 as the next peer in the same second hierarchical tier as the third peer 530. As the fourth peer 540 is not identified in the peer-to-peer message header, the third peer 530 forwards (at 585) to the fourth peer 540, the message with the peer-to-peer message header now identifying the first peer 510, the second peer 520, and the third peer 530.

The fourth peer 540 also does not have the requested content cached. The peer-to-peer message header and elastic routing implementation prevents the fourth peer 540 from passing the request back to either the second peer 520 or the third peer 530. According to the next-peer list configured on the fourth peer 540, the fourth peer 540 attempts and is successful in retrieving (at 590) the content from the fifth peer 550.

A reverse traversal of the peers is then made based on the identifiers in the peer-to-peer message header. The fourth peer 540 returns the content to the third peer 530 which then forwards the content to the second peer 520. The second peer 520 returns the content to the first peer 510. The first peer 510 then returns the content to the requesting user. Each traversed peer may cache a copy of the content during the reverse traversal.

Elastic routing can also be used to trigger different peer behavior when the list of traversed peers grows to a certain length or number of identifiers. In some embodiments, elastic routing configurably limits the number of traversed peers based on the number of identifiers appended to the traversed peer list in the peer-to-peer message header. When the peer-to-peer message header reaches a certain length or maximum number of identifiers (i.e., number of servers traversed), the peer processing the message either returns a copy of the requested content from cache or returns a response message that the content is not accessible. In other words, the peer does not continue going through its next-peer list even if one or more entries exist that have not yet been accessed. For example, the peers can be configured to stop accessing the next peer after the traversed peer list includes three peer identifiers.

FIG. 6 illustrates limiting the number of peer accesses based on the number of peer identifiers in the peer-to-peer message header in accordance with elastic routing of some embodiments. The figure illustrates four peers 610, 615, 620, and 625 in a common tier with access to an origin site 630. Due to various failures, the first peer 610, the second peer 615, and the third peer 620 are unable to access the origin site 630. The fourth peer 625 is the only peer of the four with access to the origin site 630 or having a cached copy of the requested content.

In this figure, the peers 610, 615, 620, and 625 are configured to perform at most three peer accesses before returning a response. The access limit is therefore reached when the peer-to-peer message header includes two peer identifiers and the third peer receiving the message with two entries in the peer-to-peer message header is unable to obtain the requested content.

The first peer 610 receives (at 640) a user request for content provider content. The first peer 610 does not have the requested content cached and cannot fulfill the request by accessing the origin site 630. Since the request message peer-to-peer header does not include any peer identifiers, the first peer 610 knows that it has made a first access to retrieve the content and that two additional accesses can be made. Accordingly, the first peer 610 sends (at 645) the request with the first peer 610 identifier appended to the message header on to the second peer 620 which is identified as the next peer in the first peer 610 next-peer list.

The second peer 615 does not have the requested content cached. Based on the first peer 610 identifier in the peer-to-peer message header, the second peer 615 identifies that it can make a second attempt to retrieve the requested content. The second peer 615 queries its next-peer list to identify a next peer not already identified in the peer-to-peer message header. The second peer 615 next-peer list identities the first peer 610 as the next peer. The second peer 615 however knows that the first peer 610 has already made an access attempt as a result of the first peer 610 identifier being included in the message peer-to-peer header. Accordingly, the second peer 615 selects another peer from its next-peer list. The second selection selects the origin site 630. However, the second peer 615 is also unable to access the origin site 630. The second peer 615 then selects from the next-peer list again to select a peer to make a third attempt to retrieve the content. This time the second peer 615 selects the third peer 620. The third peer 620 has not yet made an access attempt. The second peer 615 passes (at 650) the message to the third peer 620, wherein the peer-to-peer message header now includes identifiers identifying the first peer 610 and the second peer 615.

The third peer 620 also does not have the requested content cached. Based on the two peer identifiers in the message header, the third peer 620 identifies that it can make a third and final attempt to retrieve the requested content. Based on the peer-to-peer message header and the next-peer list configured for the third peer 620, the third peer 620 avoids sending the request back to the first peer 610 or the second peer 615 and makes a third attempt to retrieve the content from the origin site 630. This attempt is also unsuccessful.

Rather than pass the message from the third peer 620 to the fourth peer 625 for a fourth attempt, the third peer 620 returns (at 660) a response back to the second peer 615. The response indicates that the content is unavailable. The second peer 615 forwards the response to the first peer 610 and ultimately to the requesting user.

Of course, at any time in the traversal, if a peer involved in the traversal obtains a copy of the requested content (e.g., from cache, another peer, or an origin site) prior to reaching the maximum number of traversed peers, then the traversal is stopped at that peer and the content is returned back via a reverse peer traversal. In other words, the maximum traversal of peers is only reached if no peers involved in the traversal are able to fulfill the request by providing a cached copy of the content or by retrieving a copy from an origin site.

Many of the above-described processes and components are implemented as software processes that are specified as a set of instructions recorded on a non-transitory computer-readable storage medium (also referred to as computer-readable medium). When these instructions are executed by one or more computational element(s) (such as processors or other computational elements like ASICs and FPGAs), they cause the computational element(s) to perform the actions indicated in the instructions. Server, computer, and computing machine are meant in their broadest sense, and can include any electronic device with a processor including cellular telephones, smartphones, portable digital assistants, tablet devices, laptops, notebooks, and desktop computers. Examples of computer-readable media include, but are not limited to, CD-ROMs, flash drives, RAM chips, hard drives, EPROMs, etc.

FIG. 7 illustrates a computer system or server with which some embodiments are implemented. Such a computer system includes various types of computer-readable mediums and interfaces for various other types of computer-readable mediums that implement the various methods and machines described above (e.g., peer, server, etc.). Computer system 700 includes a bus 705, a processor 710, a system memory 715, a read-only memory 720, a permanent storage device 725, input devices 730, and output devices 735.

The bus 705 collectively represents all system, peripheral, and chipset buses that communicatively connect the numerous internal devices of the computer system 700. For instance, the bus 705 communicatively connects the processor 710 with the read-only memory 720, the system memory 715, and the permanent storage device 725. From these various memory units, the processor 710 retrieves instructions to execute and data to process in order to execute the processes of the invention. The processor 710 is a processing device such as a central processing unit, integrated circuit, graphical processing unit, etc.

The read-only-memory (ROM) 720 stores static data and instructions that are needed by the processor 710 and other modules of the computer system. The permanent storage device 725, on the other hand, is a read-and-write memory device. This device is a non-volatile memory unit that stores instructions and data even when the computer system 700 is off. Some embodiments of the invention use a mass-storage device (such as a magnetic or optical disk and its corresponding disk drive) as the permanent storage device 725.

Other embodiments use a removable storage device (such as a flash drive) as the permanent storage device. Like the permanent storage device 725, the system memory 715 is a read-and-write memory device. However, unlike storage device 725, the system memory is a volatile read-and-write memory, such as random access memory (RAM). The system memory stores some of the instructions and data that the processor needs at runtime. In some embodiments, the processes are stored in the system memory 715, the permanent storage device 725, and/or the read-only memory 720.

The bus 705 also connects to the input and output devices 730 and 735. The input devices enable the user to communicate information and select commands to the computer system. The input devices 730 include alphanumeric keypads (including physical keyboards and touchscreen keyboards), pointing devices. The input devices 730 also include audio input devices (e.g., microphones, MIDI musical instruments, etc.). The output devices 735 display images generated by the computer system. The output devices include printers and display devices, such as cathode ray tubes (CRT) or liquid crystal displays (LCD).

Finally, as shown in FIG. 7, bus 705 also couples computer 700 to a network 765 through a network adapter (not shown). In this manner, the computer can be a part of a network of computers (such as a local area network (“LAN”), a wide area network (“WAN”), or an Intranet, or a network of networks, such as the Internet).

As mentioned above, the computer system 700 may include one or more of a variety of different computer-readable media. Some examples of such computer-readable media include RAM, ROM, read-only compact discs (CD-ROM), recordable compact discs (CD-R), rewritable compact discs (CD-RW), read-only digital versatile discs (e.g., DVD-ROM, dual-layer DVD-ROM), a variety of recordable/rewritable DVDs (e.g., DVD-RAM, DVD-RW, DVD+RW, etc.), flash memory (e.g., SD cards, mini-SD cards, micro-SD cards, etc.), magnetic and/or solid state hard drives, ZIP® disks, read-only and recordable blu-ray discs, any other optical or magnetic media, and floppy disks.

In the preceding specification, various preferred embodiments have been described with reference to the accompanying drawings. It will, however, be evident that various modifications and changes may be made thereto, and additional embodiments may be implemented, without departing from the broader scope of the invention as set forth in the claims that follow. The specification and drawings are accordingly to be regarded in an illustrative rather than restrictive sense. 

We claim:
 1. A method for loop prevention in a multi-tiered hierarchy, wherein the hierarchy comprises a plurality of tiers with each tier of the plurality of tiers comprising one or more peers, the method comprising: sending a message from a first peer operating in a first tier of the plurality of tiers to a second peer operating in a second lower tier of the plurality of tiers; detecting a failure in said sending at the first peer; failing over from the first peer to a third peer operating in the first tier by sending said message with a first identifier identifying the first peer in the message header from the first peer to the third peer; sending said message from the third peer to the second peer; detecting a failure in said sending at the third peer; selecting at the third peer, a next peer from a list of next peers configured to the third peer; failing over from the third peer to the next peer operating in the first tier when the next peer is not identified by the first identifier in the message header; and preventing failover from the third peer to the next peer when the next peer is identified by the first identifier in the message header.
 2. The method of claim 1, wherein failing over from the third peer to the next peer comprises sending said message with the first identifier and a second identifier identifying the third peer in the message header from the third peer to the next peer.
 3. The method of claim 1, wherein preventing failover comprises discarding said next peer and selecting a second next peer from the list of next peers configured to the third peer.
 4. The method of claim 3 further comprising sending a response to said message when the list of next peers does not include another next peer.
 5. The method of claim 4 further comprising failing over from the third peer to the second next peer when the second next peer is present in the list of next peers, wherein failing over comprises sending said message with the first identifier and the second identifier in the message header from the third peer to the second next peer.
 6. The method of claim 1 further comprising receiving the message at the first peer from a user and determining that content requested in said message is not cached locally at the first peer.
 7. The method of claim 1, wherein the next peer identifies another peer operating in the first tier.
 8. The method of claim 1, wherein each peer at each tier of the plurality of tiers is one of a caching server or a content distribution server.
 9. The method of claim 1 further comprising successfully obtaining content requested in said message by the next peer.
 10. The method of claim 9 further comprising performing a reverse traversal based on said identifiers in the message header in returning the content to an original requestor.
 11. The method of claim 10, wherein performing the reverse traversal comprises sending said content from the next peer to the third peer as identified by the second identifier appended to said message header and further sending said content from the third peer to the first peer as identified by the first identifier appended to said message header.
 12. The method of claim 1, wherein said first identifier and said second identifier are entered into one of a via header field or a forwarded header field of said message.
 13. A method for loop prevention in a multi-tiered hierarchy, wherein the hierarchy comprises a plurality of tiers with each tier of the plurality of tiers comprising one or more peers, the method comprising: tracking within a header of a message, a set of identifiers identifying a set of peers operating in a first tier of the plurality of peers having unsuccessfully attempted to access a second-tier peer in a second lower tier of the plurality of peers; detecting a failure in a path connecting a first peer in the first tier to the second-tier peer; selecting at the first peer, a next peer in the first tier from a list of next peers configured on the first peer; detecting a loop when said selecting selects a next peer that is identified in the set of identifiers of the message header; and finding an alternate path to the second-tier peer by continually selecting different next peers from the list of next peers configured on the first peer until selecting a second peer in the first tier that is not identified in the set of identifiers of the message header.
 14. The method of claim 13, wherein finding the alternate path comprises appending an identifier identifying the first peer to the set of identifiers of the message header before passing the message to the second peer.
 15. The method of claim 14, wherein finding the alternate path further comprises sending the message over a path connecting the second peer to the second-tier peer.
 16. The method of claim 15, wherein finding the alternate path further comprising retrieving content requested by the message over the path connecting the second peer to the second-tier peer and forwarding said content from the second peer to the first peer over a path connecting the second peer to the first peer.
 17. The method of claim 13, wherein finding the alternate path comprises returning a response to said message when the list of configured peers does not include a peer that is not identified in the set of identifiers, wherein the response indicates that the second-tier peer is inaccessible.
 18. A method comprising: receiving at a distributed platform first server, a user request for content provider content; obtaining at least one distributed platform server identifier from a header of said request when at least one attempt by the first server to retrieve said content is unsuccessful; selecting a distributed platform second server from a next-tier server list configured on the first server; forwarding said request to the second server when the second server is not identified by the at least one distributed platform server identifier obtained from the request header; selecting a different distributed platform third server from the next-tier server list when the second server is identified by the at least one distributed platform server identifier.
 19. The method of claim 18, wherein said forwarding comprises appending an identifier identifying the first server to the at least one distributed platform server identifier in the request header.
 20. The method of claim 18 further comprising returning a response to said request when the at least one distributed platform server identifier obtained from the request header comprises a specific number of identifiers. 